package com.jianbing.shasha.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.jianbing.shasha.mapper.ShashaPart5RecordMapper;
import com.jianbing.shasha.domain.ShashaPart5Record;
import com.jianbing.shasha.service.IShashaPart5RecordService;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-06-16
 */
@Service
public class ShashaPart5RecordServiceImpl implements IShashaPart5RecordService 
{
    @Autowired
    private ShashaPart5RecordMapper shashaPart5RecordMapper;

    /**
     * 查询【请填写功能名称】
     * 
     * @param id 【请填写功能名称】主键
     * @return 【请填写功能名称】
     */
    @Override
    public ShashaPart5Record selectShashaPart5RecordById(Long id)
    {
        return shashaPart5RecordMapper.selectShashaPart5RecordById(id);
    }

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param shashaPart5Record 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<ShashaPart5Record> selectShashaPart5RecordList(ShashaPart5Record shashaPart5Record)
    {
        return shashaPart5RecordMapper.selectShashaPart5RecordList(shashaPart5Record);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param shashaPart5Record 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertShashaPart5Record(ShashaPart5Record shashaPart5Record)
    {
        return shashaPart5RecordMapper.insertShashaPart5Record(shashaPart5Record);
    }

    /**
     * 修改【请填写功能名称】
     * 
     * @param shashaPart5Record 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateShashaPart5Record(ShashaPart5Record shashaPart5Record)
    {
        return shashaPart5RecordMapper.updateShashaPart5Record(shashaPart5Record);
    }

    /**
     * 批量删除【请填写功能名称】
     * 
     * @param ids 需要删除的【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteShashaPart5RecordByIds(Long[] ids)
    {
        return shashaPart5RecordMapper.deleteShashaPart5RecordByIds(ids);
    }

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param id 【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteShashaPart5RecordById(Long id)
    {
        return shashaPart5RecordMapper.deleteShashaPart5RecordById(id);
    }
}
